import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JPanel;

public class Test{

	public static void main(String[] args) {
		final ImageHandler handler = new ImageHandler();			
		JFrame frame = new JFrame();
		JPanel panel = new MyPanel(handler);
		frame.add(panel);		
		frame.setBounds(300, 100, 480, 320);
		frame.setVisible(true);
		handler.transferImageToData(480,320);
		//handler.transferImage();
		//handler.outputImage();
	}
	
}
